package com.workerhelping.enums.elasticsearch;

import lombok.Getter;
import org.springframework.web.bind.annotation.GetMapping;

@Getter
public enum ESIncomrFieldEnum {
    ID("id"),
    INCOMEDATE("incomeDate"),
    YEAR("year"),
    SOURCE("source"),
    MONEY("money"),
    CATEGORY("category");
    private final String field;

    ESIncomrFieldEnum(String field) {
        this.field = field;
    }

}
